package com.shilin.watchsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shilin.watchsystem.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shilin.watchsystem.entity.Worder;
import com.shilin.watchsystem.form.AddProductForm;
import com.shilin.watchsystem.form.EditProductForm;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2020-08-21
 */
public interface IProductService extends IService<Product> {

    void insert(AddProductForm form);

    IPage<Product> page(Page<Product> page);

    void edit(EditProductForm form);

}
